from receiver import *
from send_listener import *

class QueueListener(SendListener):
	def __init__(self, queue, recv):
		self.queue = queue
		recv.addListener(self)
	def notify(self, str):
		self.queue.put(str)
